<template>
  <div class="pages">
    <a v-for="i in btnList" :href="i.url">{{ i.name }}</a>
  </div>
</template>

<script>
export default {
  name: 'HidePages',
  components: {

  },
  data() {
    return {
      btnList: [{
        name: '入驻申请介绍',
        url: '/merchants/index',
      },{
        name: '招募商家介绍',
        url: '/merchants/package',
      },{
        name: '收银台',
        url: '/meal/cashier',
      },{
        name: '支付状态',
        url: '/meal/cashier',
      }]
    }
  }
}
</script>

<style lang="scss" scoped>
  .pages{
    text-align: center;
    margin-top: 200px;
    a{
      display: inline-block;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      background: #409eff;
      border: 1px solid #409eff;
      color: #fff;
      -webkit-appearance: none;
      text-align: center;
      box-sizing: border-box;
      outline: none;
      margin: 0;
      transition: .1s;
      font-weight: 500;
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      padding: 12px 20px;
      font-size: 14px;
      border-radius: 4px;
      margin: 10px;
      text-decoration: none;
      a:hover{
        opacity: .7;
      }
    }
  }
</style>
